<?php
/**
 * The Template for displaying all single posts.
 *
 * @package WordPress
 * @subpackage Twenty_Thirteen
 * @since Twenty Thirteen 1.0
 */

get_header(); ?>

<div class="clear"></div>
<div class="container_16">  
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> 
	<div class="grid_4" id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    	<div id="left_title"></div>
    	<div id="left_content">
    		<?php wp_list_categories(); ?>
    		<?php get_sidebar(); ?>
    	</div>
	</div>
	<div class="grid_12">
    	<div id="page_title"><img src="images/l_t.png" /><?php the_title(); ?><span id="page_title_r">你现在的位置：首页 > <?php the_category(’, ‘) ?></span></div>
    	<div id="m_line"><span id="m_line_right"></span></div>
    	<div id="page_content">
    		<?php the_content(); ?>
    		<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
			<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?>
    	</div>
	</div>
<?php endwhile; // end of the loop. ?>
</div>


<?php get_footer(); ?>
<script type="text/javascript">
$(function(){
	$('#left_content').height($('#page_content').height());
})
</script>